package org.wu.spring.db.integration.compare.application;


import org.wu.framework.lazy.orm.database.lambda.domain.LazyPage;
import org.wu.framework.web.response.Result;
import org.wu.spring.db.integration.compare.domain.model.sys.user.SysUser;
import org.wu.spring.db.integration.compare.application.dto.SysUserDTO;
import java.util.List;

/**
 * describe sys_user 
 *
 * @author Jia wei Wu
 * @date 2024/02/28 11:27 上午
 * @see org.wu.framework.lazy.orm.core.persistence.reverse.lazy.ddd.DefaultDDDLazyApplication 
 **/

public interface SysUserApplication {


    /**
     * describe 批量新增
     *
     * @param rowSize    行数
     * @param columnSize 列数
     * @author Jia wei Wu
     * @date 2024/02/28 11:27 上午
     **/

    Result<List<SysUser>> batchStory(int rowSize,int columnSize);


    /**
     * describe 分页查询多个
     *
     * @param rowSize    行数
     * @param columnSize 列数
     * @return {@link Result <LazyPage<SysUserDTO>>} 分页DTO对象
     * @author Jia wei Wu
     * @date 2024/02/28 11:27 上午
     **/

    Result <LazyPage<SysUserDTO>> findPage(int rowSize,int columnSize);


}